export interface FamilyMember {
  id: string;
  name: string;
  gender: 'male' | 'female';
  parentId: string | null;
  ranking: string; // 排名：长子、次子、三子等
  birthDate: string;
  deathDate: string;
  generation: number;
  biography: string;
  spouseName: string;
  spouseBirthDate: string;
  spouseDeathDate: string;
  spouseBiography: string;
  
  town: string; // 镇(市)
  county: string; // 县(村)

  notes: string;
}

export interface FamilyTreeNode extends FamilyMember {
  children: FamilyTreeNode[];
}